<%@ Page Title="" Language="C#" MasterPageFile="../Shared/Manager.Master" Inherits="System.Web.Mvc.ViewPage<MessageViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <div class="resultMessage">
            <%= string.Format("<div class='messageIcon icon_{0}'></div>", (int)Model.Status) %>
            <dl>
                <dt>
                    <%= Model.Body %>
                </dt>
                <%
                    int i = 1;
                    foreach (var item in Model.MessageCollection)
                    {
                        Response.Write(string.Format("<dd>{1}. {0}</dd>" , item.Value , i++));

                    }
                %>
            </dl>
            <div class="operate">
                <% 
                    foreach (string s in Model.Operate)
                    { %>
                <%=s %>
                <%} %>
            </div>
        </div>
    </div>
</asp:Content>
